//package com.xhsj.user.hr.system.toolkit.mapper;
//
//import com.xhsj.user.security.entity.LoginUser;
//import com.xhsj.user.hr.system.entity.TbGlobalUser;
//import org.mapstruct.Mapper;
//import org.mapstruct.Mapping;
//import org.mapstruct.Mappings;
//import org.mapstruct.ReportingPolicy;
//import org.mapstruct.factory.Mappers;
//
///**
// * @Description UserDtoMapper
// * @Author suxiaolin
// * @Date 2020/8/27 11:05
// */
//@Mapper(unmappedTargetPolicy = ReportingPolicy.IGNORE) // 忽略不匹配的属性
//public interface UserDtoMapper {
//
//    //Mapper接口内部定义
//    UserDtoMapper INSTANCE  = Mappers.getMapper(UserDtoMapper.class);
//
//    @Mappings({
//            @Mapping(source = "userName",target = "username")
//    })
//
//    LoginUser toLoginUser(TbGlobalUser sysUser);
//
//
//
//
//}